<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>过渡动画</title>
		<style type="text/css">
			div{
				width: 300px;
				height: 100px;
				border: 1px solid #000000;
				background-color: #87CEEB;
				transition: all 1s;
			}
			div:hover{
				width: 150px;
			}
		</style>
	</head>
	<body>
		<div id="">
			
		</div>
	</body>
</html>
